package cn.myjerry.pattern.singleton;

/**
 * 测试饿汉式单例模式
 * @author Jerry
 *
 */
public class SingletonDemo01 {

	private static SingletonDemo01 instance = new SingletonDemo01();
	
	private SingletonDemo01() {}
	
	public static SingletonDemo01 getInstance() {
		return instance;
	}
	
}
